package com.xinyou.u8c.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author chq
 * @since 2023-08-23
 */
@Data
@Getter
@Setter
@ApiModel(value = "Figlaccdoccodezjb对象", description = "")
public class Figlaccdoccodezjb implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String accdoccode;

    private String accdocdate;

    private String accdoctype;

    private String accdoctypeword;

    private String accorgid;

    private String accperiod;

    private String codetype;

    private String ledger;

    private String timestampCreatedby;

    private String timestampCreatedon;

    private String timestampLastchangedby;

    private String timestampLastchangedon;

    private String year;

    public List<String> getHeader() {
        return new ArrayList<>(Arrays.asList("ID;ACCDOCCODE;ACCDOCDATE;ACCDOCTYPE;ACCDOCTYPEWORD;ACCORGID;ACCPERIOD;CODETYPE;LEDGER;TIMESTAMP_CREATEDBY;TIMESTAMP_CREATEDON;TIMESTAMP_LASTCHANGEDBY;TIMESTAMP_LASTCHANGEDON;YEAR".split(";")));
    }

    public String[] getFields() {
        return new String[]{"id","accdoccode","accdocdate","accdoctype","accdoctypeword","accorgid","accperiod","codetype","ledger","timestampCreatedby","timestampCreatedon","timestampLastchangedby","timestampLastchangedon","year"};
    }

}
